

 
 

   
 
    <form class="checkoutform" action="{:U('insert')}" method="post">

      
      
      
  
     <div class="form-group">
      <label class="control-label">样式名称</label>
      <div>
         <input class="form-control" datatype="*" value="{$info.title}" name="title" type="text" placeholder="样式名称">
      </div>
   </div>
      

       <div class="form-group">
      <label class="control-label">效果图</label>
      <div>
         <input name="img_url" type="hidden" value="{$info.img_url}" /><img onclick="showImgBox(this);" src="<notempty name="info['img_url']">{:getThumbPath($info['img_url'])}<else/>__PUBLIC__/Admin/images/defaultimg.png</notempty>" id="img_url" height="40" />
      </div>
   </div>
      
      
      
       <div class="form-group">
      <label class="control-label">所属模块</label>
      <div>
      <select class="form-control" name="template_modules_id" id="template_modules_id">
          <option value="">请选择</option>
          <volist name="template_modules_list" id="vo">
            <option <eq name="vo['id']" value="$info['template_modules_id']">selected="selected"</eq> value="{$vo.id}">{$vo.title}</option>
            
          </volist>
        </select>
      
        
      </div>
   </div>
      
            
            
 <div class="form-group">
      <label class="control-label">HTML</label>
      <div>
         <textarea class="form-control" name="diysource" class="" cols="50" rows="20" id="diysource">{$info.diysource}</textarea>
      </div>
   </div>
 <div class="form-group">
      <label class="control-label">CSS</label>
      <div>
         <textarea class="form-control" name="content" class="" cols="50" rows="20" id="content">{$info.content}</textarea>
      </div>
   </div>
   
      

      
        

    </form>
  
